package sms.content;

import java.util.ArrayList;
import java.util.List;

/**
 * SmsContent include the information which required to send sms
 * it includes the message and the list of phone which should be sent to
 * 
 * @author bchen
 *
 */
public class SmsContent 
{
	private String message;
	private List< String > phoneNumbers;
	
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	
	public List<String> getPhoneNumbers() {
		return phoneNumbers;
	}
	public void setPhoneNumbers(List<String> phoneNumbers) {
		this.phoneNumbers = phoneNumbers;
	}
	public void addPhoneNumber( String phoneNumber )
	{
		if( phoneNumbers == null )
		{
			phoneNumbers = new ArrayList< String >();
		}
		phoneNumbers.add( phoneNumber );
	}
	
}
